package com.wl.designpattern.factory.cxgc;

/**
 * 创建具体工厂类
 * Created by wangliang on 2021/2/27.
 */
public class AsusComputerFactory extends ComputerFactory {
    @Override
    public CPU createCPU() {
        return new AmdCPU();
    }

    @Override
    public Memory createMemory() {
        return new KingstonMemory();
    }

    @Override
    public HD createHD() {
        return new WdHD();
    }
}
